/*
 * @Author: 没有金箍棒的齐天大圣 feng7221996@163.com
 * @Date: 2022-01-11 13:44:31
 * @LastEditors: 没有金箍棒的齐天大圣 feng7221996@163.com
 * @LastEditTime: 2022-06-17 09:23:40
 * @FilePath: \xy-web-lh\src\router\modules\manufacture.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */


import Layout from '@/layout'

export default {
  path: '/',
  component: Layout,
  redirect: '/manufacture',
  children: [{
    path: '/manufacture',
    component: () => import('@/views/manufacture/index'),
    children: [{
      path: 'equipment/:scope',
      component: () => import('@/views/management/equipment/index'),
      name: 'equipment',
      meta: {
        defaultActive: '/manufacture/equipment'
      }
    }, {
      path: 'bom/:scope',
      component: () => import('@/views/manufacture/bom/index'),
      name: 'bom',
      meta: {
        defaultActive: '/manufacture/bom'
      }
    }, {
      path: 'technique/:scope',
      component: () => import('@/views/manufacture/technique/index'), name: 'technique',
      meta: {
        defaultActive: '/manufacture/technique'
      }
    }, {
      path: 'template/:scope',
      component: () => import('@/views/manufacture/template/index'),
      name: 'template',
      meta: {
        defaultActive: '/manufacture/template'
      }
    }, {
      path: 'template_design/:scope/:recordTemplateId',
      component: () => import('@/views/manufacture/template/components/design'),
      name: 'template_design',
      meta: {
        defaultActive: '/manufacture/template_design'
      }
    }, {
      path: 'order',
      component: () => import('@/views/manufacture/order/index'),
      name: 'order',
      meta: {
        defaultActive: '/manufacture/order'
      }
    }, {
      path: 'task',
      component: () => import('@/views/manufacture/task/index'),
      name: 'task',
      meta: {
        defaultActive: '/manufacture/task'
      }
    }, {
      path: 'result',
      component: () => import('@/views/manufacture/result/index'),
      name: 'result',
      meta: {
        defaultActive: '/manufacture/result'
      }
    }, {
      path: 'manufactureHandOrder',
      component: () => import('@/views/manufacture/manufactureHandOrder'),
      name: 'manufactureHandOrder',
      meta: {
        defaultActive: '/manufacture/manufacture_handOrder'
      }
    },
    {
      path: 'manufactureTask',
      component: () => import('@/views/manufacture/manufactureTask'),
      name: 'manufactureTask',
      meta: {
        defaultActive: '/manufacture/manufactureTask'
      }
    },
    {
      path: 'manufactureGoods',
      component: () => import('@/views/manufacture/goods'),
      name: 'manufactureGoods',
      meta: {
        defaultActive: '/manufacture/manufactureGoods'
      }
    }
    ]
  }]
}
